//
//  ContactChatListViewController.h
//  QiFuLianMeng
//
//  Created by yuntai on 2017/4/24.
//  Copyright © 2017年 yuntai. All rights reserved.
//

#import "BaseViewController.h"
#import "ChatTextView.h"
#import "VoicePlayManager.h"
#import "TFRecorder.h"
#import "TFAudioPlayer.h"

@interface ContactChatListViewController : BaseViewController<VoicePlayManagerDelegate,AVAudioPlayerDelegate,AVAudioRecorderDelegate>

@property (nonatomic,strong) ChatTextView *textView;

@property (nonatomic,assign) BOOL isToRoomChat; //是否是群聊

@property (nonatomic,copy)NSString *contactMemID;//聊天对象id
@property (nonatomic,copy)NSString *contactMemName;//聊天对象name
@property (nonatomic,strong) NSMutableArray *cellFrames;

@property (nonatomic,strong) UITableView *mainTableView;

@property (nonatomic, assign) BOOL isTop;

// 录音机
@property (nonatomic, strong) TFRecorder *audioRecorder;//录音

/**
 *  滚动到当前行
 */
-(void)tableViewScrollCurrentIndexPath;


@end
